Optimal. Leaf size=237 \[ -\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {-1+a x} \sqrt {1+a x}}{15 a^3 \sqrt {\cosh ^{-1}(a x)}}-\frac {24 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \sqrt {\cosh ^{-1}(a x)}}+\frac {\sqrt {\pi } \text {Erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac {3 \sqrt {3 \pi } \text {Erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac {\sqrt {\pi } \text {Erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac {3 \sqrt {3 \pi } \text {Erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.52, antiderivative size = 237, normalized size of antiderivative = 1.00, number of steps
used = 22, number of rules used = 9, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {5886, 5951,
5885, 3388, 2211, 2235, 2236, 5880, 5953} \begin {gather*} \frac {\sqrt {\pi } \text {Erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac {3 \sqrt {3 \pi } \text {Erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac {\sqrt {\pi } \text {Erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac {3 \sqrt {3 \pi } \text {Erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac {16 \sqrt {a x-1} \sqrt {a x+1}}{15 a^3 \sqrt {\cosh ^{-1}(a x)}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}-\frac {24 x^2 \sqrt {a x-1} \sqrt {a x+1}}{5 a \sqrt {\cosh ^{-1}(a x)}}-\frac {2 x^2 \sqrt {a x-1} \sqrt {a x+1}}{5 a \cosh ^{-1}(a x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2211
Rule 2235
Rule 2236
Rule 3388
Rule 5880
Rule 5885
Rule 5886
Rule 5951
Rule 5953
Rubi steps
\begin {align*} \int \frac {x^2}{\cosh ^{-1}(a x)^{7/2}} \, dx &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}-\frac {4 \int \frac {x}{\sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^{5/2}} \, dx}{5 a}+\frac {1}{5} (6 a) \int \frac {x^3}{\sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^{5/2}} \, dx\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac {12}{5} \int \frac {x^2}{\cosh ^{-1}(a x)^{3/2}} \, dx-\frac {8 \int \frac {1}{\cosh ^{-1}(a x)^{3/2}} \, dx}{15 a^2}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {-1+a x} \sqrt {1+a x}}{15 a^3 \sqrt {\cosh ^{-1}(a x)}}-\frac {24 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \sqrt {\cosh ^{-1}(a x)}}-\frac {24 \text {Subst}\left (\int \left (-\frac {\cosh (x)}{4 \sqrt {x}}-\frac {3 \cosh (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}-\frac {16 \int \frac {x}{\sqrt {-1+a x} \sqrt {1+a x} \sqrt {\cosh ^{-1}(a x)}} \, dx}{15 a}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {-1+a x} \sqrt {1+a x}}{15 a^3 \sqrt {\cosh ^{-1}(a x)}}-\frac {24 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \sqrt {\cosh ^{-1}(a x)}}-\frac {16 \text {Subst}\left (\int \frac {\cosh (x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{15 a^3}+\frac {6 \text {Subst}\left (\int \frac {\cosh (x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac {18 \text {Subst}\left (\int \frac {\cosh (3 x)}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {-1+a x} \sqrt {1+a x}}{15 a^3 \sqrt {\cosh ^{-1}(a x)}}-\frac {24 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \sqrt {\cosh ^{-1}(a x)}}-\frac {8 \text {Subst}\left (\int \frac {e^{-x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{15 a^3}-\frac {8 \text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{15 a^3}+\frac {3 \text {Subst}\left (\int \frac {e^{-x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac {3 \text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac {9 \text {Subst}\left (\int \frac {e^{-3 x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}+\frac {9 \text {Subst}\left (\int \frac {e^{3 x}}{\sqrt {x}} \, dx,x,\cosh ^{-1}(a x)\right )}{5 a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {-1+a x} \sqrt {1+a x}}{15 a^3 \sqrt {\cosh ^{-1}(a x)}}-\frac {24 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \sqrt {\cosh ^{-1}(a x)}}-\frac {16 \text {Subst}\left (\int e^{-x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}-\frac {16 \text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac {6 \text {Subst}\left (\int e^{-x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac {6 \text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac {18 \text {Subst}\left (\int e^{-3 x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac {18 \text {Subst}\left (\int e^{3 x^2} \, dx,x,\sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}\\ &=-\frac {2 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \cosh ^{-1}(a x)^{5/2}}+\frac {8 x}{15 a^2 \cosh ^{-1}(a x)^{3/2}}-\frac {4 x^3}{5 \cosh ^{-1}(a x)^{3/2}}+\frac {16 \sqrt {-1+a x} \sqrt {1+a x}}{15 a^3 \sqrt {\cosh ^{-1}(a x)}}-\frac {24 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{5 a \sqrt {\cosh ^{-1}(a x)}}+\frac {\sqrt {\pi } \text {erf}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac {3 \sqrt {3 \pi } \text {erf}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}+\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\cosh ^{-1}(a x)}\right )}{15 a^3}+\frac {3 \sqrt {3 \pi } \text {erfi}\left (\sqrt {3} \sqrt {\cosh ^{-1}(a x)}\right )}{5 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.58, size = 286, normalized size = 1.21 \begin {gather*} \frac {e^{-3 \cosh ^{-1}(a x)} \left (-e^{2 \cosh ^{-1}(a x)} \left (3 e^{\cosh ^{-1}(a x)} \sqrt {\frac {-1+a x}{1+a x}} (1+a x)+\cosh ^{-1}(a x)+e^{2 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)-2 \cosh ^{-1}(a x)^2+2 e^{2 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)^2-2 e^{\cosh ^{-1}(a x)} \left (-\cosh ^{-1}(a x)\right )^{5/2} \Gamma \left (\frac {1}{2},-\cosh ^{-1}(a x)\right )+2 e^{\cosh ^{-1}(a x)} \cosh ^{-1}(a x)^{5/2} \Gamma \left (\frac {1}{2},\cosh ^{-1}(a x)\right )\right )-3 \left (\cosh ^{-1}(a x)+e^{6 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)-6 \cosh ^{-1}(a x)^2+6 e^{6 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)^2-6 \sqrt {3} e^{3 \cosh ^{-1}(a x)} \left (-\cosh ^{-1}(a x)\right )^{5/2} \Gamma \left (\frac {1}{2},-3 \cosh ^{-1}(a x)\right )+6 \sqrt {3} e^{3 \cosh ^{-1}(a x)} \cosh ^{-1}(a x)^{5/2} \Gamma \left (\frac {1}{2},3 \cosh ^{-1}(a x)\right )+e^{3 \cosh ^{-1}(a x)} \sinh \left (3 \cosh ^{-1}(a x)\right )\right )\right )}{30 a^3 \cosh ^{-1}(a x)^{5/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 4.20, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\mathrm {arccosh}\left (a x \right )^{\frac {7}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\operatorname {acosh}^{\frac {7}{2}}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^2}{{\mathrm {acosh}\left (a\,x\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________